package com.ks.fission.controller;


import com.ks.core.base._ControllerBase;
import com.ks.core.core.Result;
import com.ks.core.dto.SearchCriteriaBase;
import com.ks.fission.entity.BFissionTask;
import com.ks.fission.service.IBFissionTaskService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * <p>
 * 裂变-租户添加的分享裂变任务 前端控制器
 * </p>
 *
 * @author kingdee123
 * @since 2020-12-23
 */
@RestController
@RequestMapping("/bFissionTaskApp")
@Api(value = "分享裂变模块", description = "分享裂变模块")
public class FissionTaskAppController extends _ControllerBase {

//    @Autowired
//    private IBFissionTaskService ibFissionTaskService;
//
//
//    @PostMapping("/addFission")
//    @ApiOperation(value = "分享任务发布接口", notes = "分享任务发布接口")
//    public Object addFission(@RequestBody BFissionTask bFissionTask) {
//        int i = ibFissionTaskService.addFission(getContext(),bFissionTask);
//        return Result.success(i);
//    }
//
//
//    @PostMapping("/selectTaskList")
//    @ApiOperation(value = "任务领取清单查询接口",notes = "任务领取清单查询接口")
//    public Object selectTaskList (@RequestBody SearchCriteriaBase searchCriteriaBase){
//        Map<String,Object> resultMap =ibFissionTaskService.selectTaskList(getContext(),searchCriteriaBase);
//        return Result.success(resultMap);
//    }
//
//
//    @PostMapping("/selectFission")
//    @ApiOperation(value = "成功分享清单查询接口",notes = "成功分享清单查询接口")
//    public Object selectFission (@RequestBody SearchCriteriaBase searchCriteriaBase){
//        Map<String,Object> resultMap =ibFissionTaskService.selectFission(getContext(),searchCriteriaBase);
//        return Result.success(resultMap);
//    }


}
